package student.aistar.day14.app;

import student.aistar.day14.app.entity.Student;
import student.aistar.day14.app.entity.Teacher;
import student.aistar.day14.app.impl.StudentDaoImpl;
import student.aistar.day14.app.impl.TeacherDaoImpl;

public class Test {
    public static void main(String[] args) {
        StudentDaoImpl studentDao = new StudentDaoImpl();
        studentDao.boKe();
        studentDao.save(new Student(1, "覃烽"));

        TeacherDaoImpl teacherDao = new TeacherDaoImpl();
        teacherDao.save(new Teacher(1, "SB"));

    }
}
